﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business.Partner;
using PJ.Business.Inventory;
using PJ.Framework.Common;
using PJ.Data.SalePurchase.Sale;

namespace PJ.Business.SalePurchase.Sale
{
    public class SaleInvoice : Invoice<ISaleInvoiceData>, ISaleInvoice
    {

        [Microsoft.Practices.Unity.InjectionConstructor]
        public SaleInvoice(ISaleInvoiceData data)
            : base(data)
        {
        }
        public SaleInvoice()
        {
        }

        public string CustomerId
        {
            get
            {
                return PartnerId;
            }
            set
            {
                if (value != PartnerId)
                {
                    PartnerId = value;
                }
            }
        }


    }
}
